#install a synthisizer
sudo apt install amsynth

#list available ports (hardware and software)
pmidi -l

#use list of ports to play midi through
pmidi -p 128:0 file.mid